﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;

namespace MvcFlow.Samples.Web.Controllers
{
    public class UserSurveyController : WorkflowController
    {
        public async Task<ActionResult> Index()
        {
            await Task.Yield(); // Workaround for MVC4 Beta bug
            return await OnExecuteWorkflowStep();
        }

        public UserSurveyController(IWorkflowRuntime workflowRuntime)
            : base(workflowRuntime)
        {}
    }
}
